package org.dromara.chicken.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 成长记录对象 chicken_grow_info
 *
 * @author Mr Lei QQ:235921049
 * @date 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("chicken_grow_info")
public class GrowInfo extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 关联订单
     */
    private Long orderId;

    /**
     * 商品类别
     */
    private Long productsCateId;

    /**
     * 商品ID
     */
    private Long productId;
    /*基本单位*/
    private Long unitId;

    /**
     * 药量
     */
    private BigDecimal drugNum;

    /**
     * 药物库存
     */
    private String stock;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 金额
     */
    private BigDecimal money;

    /**
     * 操作说明
     */
    private String remark;


}
